package cg.cmm.alioss.utils;

import lombok.Getter;

/**
 * @author: baibing
 * create time: 2024-12-01 22:18
 * description:
 */
public enum FileErrorEnum {

    COMMON_ERROR("5108"),
    NOT_SUPPORT_ERROR("5100"),
    MIMETYPE_NOT_MATCH_ERROR("5101"),
    FILE_SIZE_EXCEED_ERROR("5102"),
    NOT_SUPPORT_DIRECTORY_ERROR("5103"),
    UPLOAD_FAILURE("5105"),
    PARAM_NULL_ERROR("5106"),
    WATERMARK_FAILED("5107");

    @Getter
    private String code;

    FileErrorEnum(String code) {
        this.code = code;
    }
}
